<?php

class Queries_mainmenu {
		
	/**
	* SQL query
	*/
	var $sql;
		
	/**
	 * Describe diversos campos de care_menu_main (nr,sort_nr,name,LD_var AS \"LD_var\",url,is_visible)
	 * donde is_visible=1 o LD_var='LDEDP' o LD_var='LDLogin'
	 * ordenados por el campo sort_nr
	 * jl
	 */
	function select_care_menu_main(){
		"SELECT nr,sort_nr,name,LD_var AS \"LD_var\",url,is_visible FROM care_menu_main WHERE is_visible=1 OR LD_var='LDEDP' OR LD_var='LDLogin' ORDER by sort_nr";
		return $sql;
	}
	

?>
